// Decompiled on 周六 2月 22 19:31:49 CST 2025 with Zomboid Decompiler v0.1.3 using Vineflower.
package zombie.characters.BodyDamage;

public enum Metabolics {
    Sleeping(0.8F),
    SeatedResting(1.0F),
    StandingAtRest(1.2F),
    SedentaryActivity(1.2F),
    Default(1.6F),
    DrivingCar(1.4F),
    LightDomestic(1.9F),
    HeavyDomestic(2.9F),
    DefaultExercise(3.0F),
    UsingTools(3.4F),
    LightWork(4.3F),
    MediumWork(5.4F),
    DiggingSpade(6.5F),
    HeavyWork(7.0F),
    ForestryAxe(8.5F),
    Walking2kmh(1.9F),
    Walking5kmh(3.1F),
    Running10kmh(6.5F),
    Running15kmh(9.5F),
    JumpFence(4.0F),
    ClimbRope(8.0F),
    Fitness(6.0F),
    FitnessHeavy(9.0F),
    MAX(10.3F);

    private final float met;

    private Metabolics(float _float) {
        this.met = _float;
    }

    public float getMet() {
        return this.met;
    }

    public float getWm2() {
        return MetToWm2(this.met);
    }

    public float getW() {
        return MetToW(this.met);
    }

    public float getBtuHr() {
        return MetToBtuHr(this.met);
    }

    public static float MetToWm2(float _met) {
        return 58.0F * _met;
    }

    public static float MetToW(float _met) {
        return MetToWm2(_met) * 1.8F;
    }

    public static float MetToBtuHr(float _met) {
        return 356.0F * _met;
    }
}
